﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

/* Authors: Mike Poddo, Matt Gillette
 * Missile Command
 */

namespace MissileCommand
{
    class HighScore
    {
        private String name;
        private int score;

        public override string ToString()
        {
            String s = "";
            s += "Name: " + name;
            s += "   |   Score: " + score;
            return s; ;
        }

        public HighScore(String name, int score)
        {
            this.score = score;
            this.name = name;
        }

        public HighScore()
        {
            this.score = 0;
            this.name = "Joe Blow";
        }

        public String Name
        {
            get
            {
                return this.name;
            }
        }

        public int Score
        {
            get
            {
                return this.score;
            }
        }
    }
}
